package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Userinformationdet;
import com.mc.read.dao.models.UserinformationdetCustom;
import com.mc.read.dao.models.UserinformationdetExample;
import com.mc.read.dao.vo.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserinformationdetMapper {
    int countByExample(UserinformationdetExample example);

    int deleteByExample(UserinformationdetExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Userinformationdet record);

    int insertSelective(Userinformationdet record);

    List<Userinformationdet> selectByExample(UserinformationdetExample example);

    Userinformationdet selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Userinformationdet record, @Param("example") UserinformationdetExample example);

    int updateByExample(@Param("record") Userinformationdet record, @Param("example") UserinformationdetExample example);

    int updateByPrimaryKeySelective(Userinformationdet record);

    int updateByPrimaryKey(Userinformationdet record);


    int updateByUserId(Userinformationdet record);

    int updateExperience(Userinformationdet record);

    int updateReadTime(Userinformationdet record);

    Userinformationdet selectByUserId(Integer id);
    /**
     * @Author:LiuHao
     * @Date:15:24 2019/5/31
     * 用户列表展示 selectPcUserList
     **/
    List<UserinformationdetCustom> selectPcUserList(PageVo pageVo);
}